# 清空、解压
rm -rf /home/shr/MyGitee/boost-search-engine/boost-searcher/data/boost_d/boost_*
echo "clear old done"
tar -xzf /home/shr/MyGitee/boost-search-engine/boost-searcher/data/boost_tar_d/boost_unix_release.tar.gz -C /home/shr/MyGitee/boost-search-engine/boost-searcher/data/boost_d/
echo "tar done"

# 移动、覆盖
rm -rf /home/shr/MyGitee/boost-search-engine/boost-searcher/data/input/*
echo "clear old input done"
cp -rf /home/shr/MyGitee/boost-search-engine/boost-searcher/data/boost_d/boost_*/doc/html/* /home/shr/MyGitee/boost-search-engine/boost-searcher/data/input/
echo "dispos done"

# 新数据清洗
> /home/shr/MyGitee/boost-search-engine/boost-searcher/data/raw_htmls/raw.bin
echo "clear old raw done"
/home/shr/MyGitee/boost-search-engine/boost-searcher/parser
echo "parser done"
